package endurance.observer.impl;

import endurance.observer.Observer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.HashMap;

/**
 * @Author: sunlin
 * @Date: 2024-05-17 11:12
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Component
public class EmailObserverImpl implements Observer {

    @Override
    public String sendMessage(HashMap<String, String> hashMap) {
        log.info("发送邮件:{}",hashMap);
        return "发送邮件";
    }
}
